package com.example.pceb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("borrow_record")
public class BorrowRecord {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private Long resourceId;
    private String borrowerUsername;
    private Timestamp borrowTime;
    private Timestamp returnTime;
    private String status;
}

